[VERSN2]
watermark "Mod made by YochiThMaster333"

add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_LADA2102 SECONDARY_LOGO_LADA2102 "LadaParts\SECONDARY_LOGO_LADA2102.dds"
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES CARSELECT_MANUFACTURER_LADA CARSELECT_MANUFACTURER_LADA "LadaParts\CARSELECT_MANUFACTURER_LADA.dds"
bind_textures synchronize FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES "LadaParts\TuningIcons"

move_file override relative absolute LadaParts\LADA2102.ini scripts\UnlimiterData\LADA2102.ini

// Strings
append "Strings\English.end"
append "Strings\French.end"
append "Strings\German.end"
append "Strings\Italian.end"
append "Strings\Russian.end"
append "Strings\Spanish.end"
append "Strings\Danish.end"
append "Strings\Dutch.end"
append "Strings\Finnish.end"
append "Strings\Swedish.end"
append "Strings\Polish.end"
append "Strings\Chinese.end"
append "Strings\Korean.end"

// Those files are actually unloaded to save RAM, so don't worry ^^
delete FRONTEND\FRONTB.LZC

if collection_exists GLOBAL\GLOBALB.LZC CarTypeInfos LADA2102
do
remove_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2102
else
end

if collection_exists GLOBAL\GLOBALB.LZC Collisions LADA2102
do
remove_collection GLOBAL\GLOBALB.LZC Collisions LADA2102
else
end

if collection_exists GLOBAL\GLOBALB.LZC SlotOverrides LADA2102_PART_SPOILER
do
remove_collection GLOBAL\GLOBALB.LZC SlotOverrides LADA2102_PART_SPOILER
else
end

copy_collection GLOBAL\GLOBALB.LZC CarTypeInfos IS300 LADA2102
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2102 DefaultBasePaint LADA2102_PAINT_WHITE
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2102 ManufacturerName LADA
copy_collection GLOBAL\GLOBALB.LZC Collisions IS300 LADA2102
import override GLOBAL\GLOBALB.LZC DBModelParts LadaParts\LADA2102.bin
copy_collection GLOBAL\GLOBALB.LZC SlotOverrides CAYMANS_PART_SPOILER LADA2102_PART_SPOILER

if directory_exists absolute CARS\LADA2102
do
else
create_folder absolute CARS\LADA2102
end

move_file override relative absolute Main\GEOMETRY.BIN CARS\LADA2102\GEOMETRY.BIN
move_file override relative absolute Main\TEXTURES.BIN CARS\LADA2102\TEXTURES.BIN

combobox "Standard Resolution (512x)" "High Resolution (1024x)" "Choose vinyls resolution."

"Standard Resolution (512x)"
move_file override relative absolute Vinyls\512.BIN CARS\LADA2102\VINYLS.BIN

"High Resolution (1024x)"
move_file override relative absolute Vinyls\1024.BIN CARS\LADA2102\VINYLS.BIN

end

combobox "Belyy" "Krasnyy" "Vishnya" "Siniy" "Svetlo-Goluboy" "Zelenyy" "Oliva" "Zolotisto-Zheltyy" "Choose your stock color."

"Belyy"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2102 DefaultBasePaint LADA2102_PAINT_WHITE

"Krasnyy"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2102 DefaultBasePaint LADA2102_PAINT_RED

"Vishnya"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2102 DefaultBasePaint LADA2102_PAINT_PURPLE

"Siniy"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2102 DefaultBasePaint LADA2102_PAINT_BLUE

"Svetlo-Goluboy"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2102 DefaultBasePaint LADA2102_PAINT_BLUE2

"Zelenyy"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2102 DefaultBasePaint LADA2102_PAINT_GREEN

"Oliva"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2102 DefaultBasePaint LADA2102_PAINT_GREEN2

"Zolotisto-Zheltyy"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2102 DefaultBasePaint LADA2102_PAINT_YELLOW

end
